﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace ScriptZilla
{
    public partial class LuaBrowser : Form
    {
        public LuaBrowser()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            openFileDialog1.Filter = "HTML-Site (*.html)|*.html|HTM-Site (*.htm)|*.htm|All Files (*.*)|*.*";
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                StreamReader myFile = new StreamReader(openFileDialog1.FileName);
                String myString = myFile.ReadToEnd();
                webBrowser1.Navigate(openFileDialog1.FileName);
                





            }
        }
    }
}
